package com.woniu.his.sms.service;

import com.woniu.his.sms.infra.model.Staff;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.his.sms.service.dto.*;
import com.woniu.his.sms.service.param.SmsSkdDocServiceParam;
import com.woniu.his.sms.service.param.StaffPwdSeParam;

import java.util.List;

import com.woniu.his.sms.service.param.PageStaffServerParam;
import com.woniu.his.sms.service.param.StaffLoginServerParam;
import com.woniu.his.sms.service.param.StaffUpdateServerParam;

import java.util.Map;

/**
 * <p>
 * 员工表 服务类
 * </p>
 *
 * @author cb
 * @since 2022-11-25
 */
public interface StaffService extends IService<Staff> {

    List<StaffAllDto> queryAll();

    PageStaffDto QueryPageStaff(PageStaffServerParam param);

    Integer UpdateStaff(StaffUpdateServerParam updateServerParam);

    Map login(StaffLoginServerParam serverParam);

    List<StaffServiceDto> listDocBySkd(SmsSkdDocServiceParam smsSkdDocServiceParam);


    loginStaffServiceDto findLoginStaffById(Integer staffId);

    loginStaffServiceDto findStaffByPwd(StaffPwdSeParam staffPwdSeParam);

    boolean deleteStaff(List<Long> ids);

    List<StaffInfoDto> findAllStaffByDeptId(Integer deptId);
}
